package com.cs.contract.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * @Author：zrx
 * @Package：com.cs.domain
 * @Project：Ruoyi
 * @name：CsLineItems
 * @Date：2024/11/22 16:33
 * @Filename：CsLineItems
 */
public class CsLineItems extends BaseEntity {
    private static final long serialVersionUID = -6427691118169163963L;
    @Excel(name = "行项目ID")
    private Integer vid;
    @Excel(name = "行项目编号")
    private String vCode;
    @Excel(name = "招标项目ID")
    private Integer sid;
    @Excel(name = "框架计划ID")
    private Integer planId;
    @Excel(name = "采购计划ID")
    private String aid;
    @Excel(name = "物料编号")
    private String tid;
    @Excel(name = "非招标项目ID")
    private Integer gid;
    @Excel(name = "数量")
    private Integer vCount;
    @Excel(name = "采购人")
    private String vPerson;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "交付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date vDeliveryTime;
    @Excel(name = "交付地点")
    private String vDeliveryArea;
    @Excel(name = "需求说明")
    private String vIllustrate;
    @Excel(name = "采购方式")
    private String procurementMethod;
    @Excel(name = "预算编号")
    private String did;
    private CsFramePlan csFramePlan;
    private CsSupplier csSupplier;
    private CsDevice csDevice;
    private CsBudget csBudget;

    public Integer getVid() {
        return vid;
    }

    public void setVid(Integer vid) {
        this.vid = vid;
    }

    public String getvCode() {
        return vCode;
    }

    public void setvCode(String vCode) {
        this.vCode = vCode;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getAid() {
        return aid;
    }

    public void setAid(String aid) {
        this.aid = aid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getvCount() {
        return vCount;
    }

    public void setvCount(Integer vCount) {
        this.vCount = vCount;
    }

    public String getvPerson() {
        return vPerson;
    }

    public void setvPerson(String vPerson) {
        this.vPerson = vPerson;
    }

    public Date getvDeliveryTime() {
        return vDeliveryTime;
    }

    public void setvDeliveryTime(Date vDeliveryTime) {
        this.vDeliveryTime = vDeliveryTime;
    }

    public String getvDeliveryArea() {
        return vDeliveryArea;
    }

    public void setvDeliveryArea(String vDeliveryArea) {
        this.vDeliveryArea = vDeliveryArea;
    }

    public String getvIllustrate() {
        return vIllustrate;
    }

    public void setvIllustrate(String vIllustrate) {
        this.vIllustrate = vIllustrate;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public CsFramePlan getCsFramePlan() {
        return csFramePlan;
    }

    public void setCsFramePlan(CsFramePlan csFramePlan) {
        this.csFramePlan = csFramePlan;
    }

    public CsSupplier getCsSupplier() {
        return csSupplier;
    }

    public void setCsSupplier(CsSupplier csSupplier) {
        this.csSupplier = csSupplier;
    }

    public CsDevice getCsDevice() {
        return csDevice;
    }

    public void setCsDevice(CsDevice csDevice) {
        this.csDevice = csDevice;
    }

    public CsBudget getCsBudget() {
        return csBudget;
    }

    public void setCsBudget(CsBudget csBudget) {
        this.csBudget = csBudget;
    }

    public String getProcurementMethod() {
        return procurementMethod;
    }

    public void setProcurementMethod(String procurementMethod) {
        this.procurementMethod = procurementMethod;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("vid", vid)
                .append("vCode", vCode)
                .append("sid", sid)
                .append("planId", planId)
                .append("aid", aid)
                .append("tid", tid)
                .append("gid", gid)
                .append("vCount", vCount)
                .append("vPerson", vPerson)
                .append("vDeliveryTime", vDeliveryTime)
                .append("vDeliveryArea", vDeliveryArea)
                .append("vIllustrate", vIllustrate)
                .append("procurementMethod", procurementMethod)
                .append("did", did)
                .append("csFramePlan", csFramePlan)
                .append("csSupplier", csSupplier)
                .append("csDevice", csDevice)
                .append("csBudget", csBudget)
                .toString();
    }
}
